<?php include("includes/comunes.php");

$respag= obtener_pagina(tratar_parametros($_GET['pag_id']));
if(mysql_num_rows($respag)>0)
 $regpag=  mysql_fetch_array($respag);
else
    header("Location: index.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&lt; PORTAL DE LA MUNICIPALIDAD DE RESISTENCIA &gt;</title>
<link href="estilos.css" rel="stylesheet" type="text/css" />


<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<link href="../menu/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../slide/css/basic-jquery-slider.css">
<script src="../slide/js/libs/jquery-1.6.2.min.js"></script>
<script src="../slide/js/basic-jquery-slider.js"></script>
</head>

<body>
<div id="contenedor" class="clearfix">
  <div id="header">
   <?php include("includes/header.php"); ?>
    
  </div> 
  <div id="contenido">      
      	<div id="col1">
          <div id="breadcrum"><?php echo utf8_encode($regpag['pag_ruta'])?></div>
          <div id="recuadro_contenido_col1">
              <div class="h2"><?php echo strtoupper(utf8_encode($regpag['pag_tit']))?></div>
          
          
<div class="txt_contenido">
<?php echo utf8_encode($regpag['pag_contenido'])?>
</div>
    </div>
     	</div>
        <div id="col2">
        <?php 
        //muestro la seccion segun el tipo de pagina
        $late=obtener_lateral(tratar_parametros($_GET['pag_id']));
          if(is_null($late))
               include("includes/lateral_der4.php");
          else
                include("includes/".$late);


          ?>

        </div>
        
  
   </div> 
<?php include("includes/footer.php"); ?>
</div>
</body>
</html>